package com.canaan.business.service.basic;

import java.util.List;

import com.canaan.business.domain.basic.StorehouseAreaPicker;

/**
 * 库区拣货员Service接口
 *
 * @author ruoyi
 * @date 2023-07-06
 */
public interface IStorehouseAreaPickerService {
    /**
     * 查询库区拣货员
     *
     * @param id 库区拣货员主键
     * @return 库区拣货员
     */
    StorehouseAreaPicker selectStorehouseAreaPickerById(Long id);

    /**
     * 查询库区拣货员列表
     *
     * @param storehouseAreaPicker 库区拣货员
     * @return 库区拣货员集合
     */
    List<StorehouseAreaPicker> selectStorehouseAreaPickerList(StorehouseAreaPicker storehouseAreaPicker);


    /**
     * 根据库区编号获取拣货员
     * @param areaNo
     * @return
     */
    List<StorehouseAreaPicker> storehouseAreaPickerListByAreaNo(String areaNo);
    /**
     * 新增库区拣货员
     *
     * @param storehouseAreaPicker 库区拣货员
     * @return 结果
     */
    int insertStorehouseAreaPicker(StorehouseAreaPicker storehouseAreaPicker);

    /**
     * 批量新增库区拣货员
     *
     * @param storehouseAreaPickerList 库区拣货员列表
     * @return 结果
     */
    int batchInsertStorehouseAreaPicker(List<StorehouseAreaPicker> storehouseAreaPickerList);

    /**
     * 修改库区拣货员
     *
     * @param storehouseAreaPicker 库区拣货员
     * @return 结果
     */
    int updateStorehouseAreaPicker(StorehouseAreaPicker storehouseAreaPicker);

    /**
     * 批量修改库区拣货员
     *
     * @param storehouseAreaPickerList 库区拣货员列表
     * @return 结果
     */
    int batchUpdateStorehouseAreaPicker(List<StorehouseAreaPicker> storehouseAreaPickerList);

    /**
     * 批量删除库区拣货员
     *
     * @param ids 需要删除的库区拣货员主键集合
     * @return 结果
     */
    int deleteStorehouseAreaPickerByIds(Long[] ids);

    /**
     * 删除库区拣货员信息
     *
     * @param id 库区拣货员主键
     * @return 结果
     */
    int deleteStorehouseAreaPickerById(Long id);

    /**
     * 查询库区拣货员
     *
     * @param no 编号
     * @return 库区拣货员
     */
    StorehouseAreaPicker selectStorehouseAreaPickerByNo(String no);

    /**
     * 批量删除库区拣货员
     *
     * @param nos 需要删除的编号集合
     * @return 结果
     */
    int deleteStorehouseAreaPickerByNos(String[] nos);

    /**
     * 根据库区编号删除库区拣货员
     *
     * @param areaNo 需要删除的库区编号
     * @return 结果
     */
    int deleteStorehouseAreaPickerByAreaNo(String areaNo);

    /**
     * 删除库区拣货员信息
     *
     * @param no 编号
     * @return 结果
     */
    int deleteStorehouseAreaPickerByNo(String no);

}
